Pagini recente » Borderou de evaluare (job #3199031) | Borderou de evaluare (job #2821962) | Borderou de evaluare (job #2854886) | Borderou de evaluare (job #2723518) | Borderou de evaluare (job #2736757)
Borderou de evaluare (job #2736757)
Raport evaluator
Compilare:
main.cpp: In function 'int realMain()':
main.cpp:68:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:7:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define files(FILENAME) read(FILENAME); write(FILENAME)
^
main.cpp:19:5: note: in expansion of macro 'files'
files(FILENAME);
^~~~~
main.cpp:19:20: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
files(FILENAME);
^
main.cpp:21:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("input", "r", stdin);
^
main.cpp: In function 'int realMain()':
main.cpp:39:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:41:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 2 |
2 | 5ms | 524kb | OK | 3 |
3 | 26ms | 1048kb | OK | 3 |
4 | 84ms | 1572kb | OK | 3 |
5 | 368ms | 2621kb | OK | 4 |
6 | 3000ms | 6160kb | Time limit exceeded | 0 |
7 | 3002ms | 5636kb | Time limit exceeded | 0 |
8 | 3000ms | 5767kb | Time limit exceeded | 0 |
9 | 3002ms | 5689kb | Time limit exceeded | 0 |
10 | 3001ms | 5554kb | Time limit exceeded | 0 |
11 | 3001ms | 5668kb | Time limit exceeded | 0 |
12 | 3000ms | 5607kb | Time limit exceeded | 0 |
13 | 3000ms | 5599kb | Time limit exceeded | 0 |
Punctaj total | 15 |