Borderou de evaluare (job #1738631)

Utilizator vladc096Vlad Cincean vladc096 Data 7 august 2016 12:58:53
Problema Trompeta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d", &N, &M); ^ user.cpp:28:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:43:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n", getNb(c, start, start + M - 1)); ^ user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trompeta.in", "r", stdin); ^ user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trompeta.out", "w", stdout); ^ user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &M); ^ user.cpp:30:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbIncorect0
20ms260kbIncorect0
30ms268kbIncorect0
40ms264kbIncorect0
50ms264kbIncorect0
6Depăşit340kbTime limit exceeded.0
7Depăşit336kbTime limit exceeded.0
8Depăşit1220kbTime limit exceeded.0
9Depăşit1220kbTime limit exceeded.0
10Depăşit1220kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?