Pagini recente » Borderou de evaluare (job #2508568) | Borderou de evaluare (job #339118) | Borderou de evaluare (job #132142) | Borderou de evaluare (job #1096296) | Borderou de evaluare (job #2643740)
Borderou de evaluare (job #2643740)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:91:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t i = 1; i <= A; i++)
~~^~~~
main.cpp:93:24: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[305]' [-Wformat=]
fscanf(f, "%s", &word);
^
main.cpp:110:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t i = 1; i <= B; i++)
~~^~~~
main.cpp:112:24: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[305]' [-Wformat=]
fscanf(f, "%s", &word);
^
main.cpp:90:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &A);
^
main.cpp:93:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%s", &word);
^
main.cpp:109:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &B);
^
main.cpp:112:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%s", &word);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 3ms | 262kb | OK | 10 |
3 | 3ms | 393kb | OK | 10 |
4 | 6ms | 1310kb | OK | 10 |
5 | 11ms | 2752kb | OK | 10 |
6 | 13ms | 3014kb | OK | 10 |
7 | 37ms | 10616kb | OK | 10 |
8 | 38ms | 10747kb | OK | 10 |
9 | 41ms | 10878kb | OK | 10 |
10 | 38ms | 10485kb | OK | 10 |
Punctaj total | 100 |