Pagini recente » Cod sursa (job #2961407) | oni2010x1 | Cod sursa (job #905444) | Cod sursa (job #2501288) | Borderou de evaluare (job #1275212)
Borderou de evaluare (job #1275212)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:33: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%c", &a[i][j]);
^
user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("insule.in", "r", stdin);
^
user.cpp:46:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("insule.out", "w", stdout);
^
user.cpp:47:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:50:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &a[i][j]);
^
user.cpp:48:5: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; ++i, scanf("\n"))
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 336kb | OK! | 10 |
2 | 0ms | 284kb | OK! | 10 |
3 | 4ms | 328kb | OK! | 10 |
4 | Depăşit | 528kb | Time limit exceeded. | 0 |
5 | 16ms | 412kb | OK! | 10 |
6 | 48ms | Depăşit | Memory limit exceeded. | 0 |
7 | Depăşit | 520kb | Time limit exceeded. | 0 |
8 | Depăşit | 540kb | Time limit exceeded. | 0 |
9 | 4ms | 360kb | OK! | 10 |
10 | Depăşit | 648kb | Time limit exceeded. | 0 |
Punctaj total | 50 |