Pagini recente » Borderou de evaluare (job #2007633) | Borderou de evaluare (job #541723) | Borderou de evaluare (job #2704558) | Borderou de evaluare (job #2362972) | Borderou de evaluare (job #1769995)
Borderou de evaluare (job #1769995)
Raport evaluator
Compilare:
user.cpp: In function ‘int mod(int&)’:
user.cpp:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void read()’:
user.cpp:20:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &k, &a, &b);
^
user.cpp:21:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘int main()’:
user.cpp:48:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diviz.in", "r", stdin);
^
user.cpp:49:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diviz.out", "w", stdout);
^
/tmp/ccCLHdz7.o: In function `read()':
user.cpp:(.text+0x5a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 612kb | OK | 10 |
2 | 0ms | 532kb | OK | 10 |
3 | 12ms | Depăşit | Memory limit exceeded. | 0 |
4 | 4ms | 852kb | OK | 10 |
5 | 16ms | 1304kb | OK | 10 |
6 | 88ms | Depăşit | Memory limit exceeded. | 0 |
7 | 96ms | Depăşit | Memory limit exceeded. | 0 |
8 | 96ms | Depăşit | Memory limit exceeded. | 0 |
9 | 48ms | Depăşit | Memory limit exceeded. | 0 |
10 | 48ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 40 |