Pagini recente » Borderou de evaluare (job #279619) | Borderou de evaluare (job #3224779) | Borderou de evaluare (job #2378303) | Borderou de evaluare (job #1379525) | Borderou de evaluare (job #1313724)
Borderou de evaluare (job #1313724)
Raport evaluator
Compilare:
user.cpp: In function ‘void desc(int)’:
user.cpp:9:9: warning: variable ‘orig’ set but not used [-Wunused-but-set-variable]
int orig, d, cnt, lim;
^
user.cpp: In function ‘int main()’:
user.cpp:39:18: warning: NULL used in arithmetic [-Wpointer-arith]
while(s[i] != NULL) {
^
user.cpp:31:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.in", "r", stdin);
^
user.cpp:32:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.out", "w", stdout);
^
user.cpp:35:27: 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:36:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccZCSexp.o: In function `main':
user.cpp:(.text.startup+0x71): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | Depăşit | Memory limit exceeded. | 0 |
2 | 0ms | 588kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 292kb | OK | 10 |
7 | 0ms | 292kb | OK | 10 |
8 | 0ms | 312kb | OK | 10 |
9 | 0ms | 316kb | OK | 10 |
10 | 0ms | 292kb | OK | 10 |
Punctaj total | 80 |