Borderou de evaluare (job #1314091)

Utilizator serban_ioan97Ciofu Serban serban_ioan97 Data 11 ianuarie 2015 15:32:49
Problema Carte Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:67:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=1; i<=strlen(s+1); ++i ) ^ user.cpp:74:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=1; i<=strlen(s+1); ++i) ^ user.cpp:52:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("carte.in", "rt", stdin); ^ user.cpp:53:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("carte.out", "wt", stdout); ^ user.cpp:55:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &t); ^ user.cpp:59:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ user.cpp:60:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:63:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(word+1); ^ /tmp/ccM7d64V.o: In function `main': user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1196ms3224kbOK100
Punctaj total100

Ceva nu functioneaza?