Pagini recente » Borderou de evaluare (job #1988652) | Borderou de evaluare (job #2812812) | Borderou de evaluare (job #1763622) | Borderou de evaluare (job #2930721) | Borderou de evaluare (job #2591158)
Borderou de evaluare (job #2591158)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[negustor].size() && i < k ; i ++ , nr ++)
~~^~~~~~~~~~~~~~~~~~~~
main.cpp:39:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < T[magazin].size() ; j ++)
~~^~~~~~~~~~~~~~~~~~~
main.cpp:50:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(G[i].size() > 0 && G[i].size() < deg)
~~~~~~~~~~~~^~~~~
main.cpp:10:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("negot.in" , "r" , stdin);
^
main.cpp:11:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("negot.out" , "w" , stdout);
^
main.cpp:13:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd%hd" , &n , &m , &k);
^
main.cpp:17:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd" , &t);
^
main.cpp:20:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd" , &x);
^
main.cpp:12:58: warning: 'negustor' may be used uninitialized in this function [-Wmaybe-uninitialized]
short int n , m , k , t , i , j , x , nr , magazin , negustor , deg , gasit , cnt;
^~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 1048kb | OK | 5 | 10 |
| 2 | 4ms | 1048kb | OK | 5 |
| 3 | 4ms | 1048kb | OK | 5 | 10 |
| 4 | 4ms | 1048kb | OK | 5 |
| 5 | 14ms | 1179kb | Incorect | 0 | 0 |
| 6 | 12ms | 1179kb | OK | 5 |
| 7 | 19ms | 1179kb | Incorect | 0 |
| 8 | 10ms | 1179kb | OK | 5 |
| 9 | 16ms | 1179kb | OK | 5 | 30 |
| 10 | 8ms | 1179kb | OK | 5 |
| 11 | 5ms | 1179kb | OK | 5 |
| 12 | 13ms | 1179kb | OK | 5 |
| 13 | 8ms | 1179kb | OK | 5 |
| 14 | 7ms | 1179kb | OK | 5 |
| 15 | 4ms | 1048kb | Killed by Signal 11 | 0 | 0 |
| 16 | 4ms | 1048kb | Killed by Signal 11 | 0 |
| 17 | 3ms | 1048kb | Killed by Signal 11 | 0 |
| 18 | 3ms | 1048kb | Killed by Signal 11 | 0 |
| 19 | 3ms | 1048kb | Killed by Signal 11 | 0 |
| 20 | 4ms | 1048kb | Killed by Signal 11 | 0 |
| Punctaj total | 50 |