Borderou de evaluare (job #2437297)

Utilizator claudiu.gatinaFMI Claudiu Gatina claudiu.gatina Data 9 iulie 2019 11:00:10
Problema Noname 3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:21:16: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d", &n); ^ main.cpp:22:16: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d", &s); ^ main.cpp:18:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("noname3.in", "r", stdin); ^ main.cpp:19:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("noname3.out", "w", stdout); ^ main.cpp:21:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:22:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
22ms131kbOK1010
32ms131kbOK1010
42ms131kbOK1010
52ms131kbOK1010
63ms131kbOK1030
72ms131kbOK10
82ms131kbOK10
92ms131kbOK1010
1053ms1236kbTime limit exceeded00
Punctaj total90

Ceva nu functioneaza?