Pagini recente » Borderou de evaluare (job #2012240) | Borderou de evaluare (job #1058833) | Cod sursa (job #599105) | Borderou de evaluare (job #2958663) | Borderou de evaluare (job #2760444)
Borderou de evaluare (job #2760444)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<n; i++){
~^~
main.cpp:9:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nim.in", "r", stdin);
^
main.cpp:10:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nim.out", "w", stdout);
^
main.cpp:13:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:17:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:20:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 4ms | 131kb | OK | 10 |
5 | 12ms | 131kb | OK | 10 |
6 | 23ms | 131kb | OK | 10 |
7 | 100ms | 131kb | OK | 10 |
8 | 142ms | 131kb | OK | 10 |
9 | 223ms | 131kb | OK | 10 |
10 | 225ms | 131kb | OK | 10 |
Punctaj total | 100 |