Pagini recente » Borderou de evaluare (job #1702245) | Borderou de evaluare (job #1920610) | Borderou de evaluare (job #2594534) | Borderou de evaluare (job #1572227) | Borderou de evaluare (job #1687819)
Borderou de evaluare (job #1687819)
Raport evaluator
Compilare:
user.cpp: In function ‘int adun(int)’:
user.cpp:31:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:34:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in","r",stdin);
^
user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out","w",stdout);
^
user.cpp:37:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:43:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d);
^
/tmp/ccaeKTtz.o: In function `main':
user.cpp:(.text.startup+0x55): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 324kb | OK | 10 |
5 | 4ms | 436kb | OK | 10 |
6 | 20ms | 756kb | OK | 10 |
7 | 52ms | 1556kb | Incorect | 0 |
8 | 140ms | 3528kb | Incorect | 0 |
9 | 192ms | 4664kb | Incorect | 0 |
10 | 220ms | 5152kb | Incorect | 0 |
Punctaj total | 50 |