Borderou de evaluare (job #1574471)

Utilizator FullP0werMihalache Andrei FullP0wer Data 20 ianuarie 2016 16:48:01
Problema Cifra Lipsa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d\n",((S/9)+1)*9-S); ^ user.cpp:7:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifralipsa.in","r", stdin); ^ user.cpp:8:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifralipsa.out","w", stdout); ^ user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); gets(s); ^ user.cpp:9:28: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); gets(s); ^ user.cpp:11:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); S = 0; ^ /tmp/ccrRLo6x.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit340kbTime limit exceeded.0
2Depăşit312kbTime limit exceeded.0
3Depăşit340kbTime limit exceeded.0
4Depăşit332kbTime limit exceeded.0
5Depăşit312kbTime limit exceeded.0
6Depăşit324kbTime limit exceeded.0
7Depăşit340kbTime limit exceeded.0
8Depăşit384kbTime limit exceeded.0
9Depăşit336kbTime limit exceeded.0
10Depăşit352kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?