Pagini recente » Borderou de evaluare (job #1493402) | Borderou de evaluare (job #923818) | Borderou de evaluare (job #926710) | Borderou de evaluare (job #1551054) | Borderou de evaluare (job #1372458)
Borderou de evaluare (job #1372458)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f, "%d%d", &n, &k);
^
user.cpp:13:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:14:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(h, "%d%d", &n, &k);
^
user.cpp:14:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:15:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(j, "%d%d", &n, &k);
^
user.cpp:15:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:17:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f, "%d", &nr);
^
user.cpp:26:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(h, "%d", &nr);
^
user.cpp:37:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(j, "%d", &nr);
^
user.cpp:13:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &n, &k);
^
user.cpp:14:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(h, "%d%d", &n, &k);
^
user.cpp:15:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(j, "%d%d", &n, &k);
^
user.cpp:17:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &nr);
^
user.cpp:26:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(h, "%d", &nr);
^
user.cpp:37:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(j, "%d", &nr);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 264kb | OK | 10 |
| 4 | 0ms | 256kb | OK | 10 |
| 5 | 4ms | 264kb | OK | 10 |
| 6 | 4ms | 268kb | OK | 10 |
| 7 | 56ms | 268kb | OK | 10 |
| 8 | 124ms | 264kb | OK | 10 |
| 9 | 52ms | 268kb | OK | 10 |
| 10 | 16ms | 256kb | OK | 10 |
| Punctaj total | 100 |