Pagini recente » Borderou de evaluare (job #942814) | Borderou de evaluare (job #425078) | Borderou de evaluare (job #1149961) | Borderou de evaluare (job #2613046) | Borderou de evaluare (job #1779387)
Borderou de evaluare (job #1779387)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100001]’ [-Wformat=]
fscanf (f, "%s", &s);
^
user.cpp:21:27: warning: unused variable ‘p’ [-Wunused-variable]
int m, n, i, top = 0, p = 1;
^
user.cpp:25:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%s", &s);
^
user.cpp:26:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%c", &c);
^
user.cpp:27:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%d", &m);
^
user.cpp:28:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%c", &c);
^
user.cpp:30:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 836kb | OK | 10 |
2 | 0ms | 840kb | OK | 10 |
3 | 0ms | 840kb | OK | 10 |
4 | 0ms | 844kb | OK | 10 |
5 | 0ms | 836kb | OK | 10 |
6 | 0ms | 836kb | OK | 10 |
7 | 0ms | 844kb | OK | 10 |
8 | 4ms | 848kb | OK | 10 |
9 | Depăşit | 940kb | Time limit exceeded. | 0 |
10 | Depăşit | 936kb | Time limit exceeded. | 0 |
Punctaj total | 80 |